package com.mftour.moudles.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.mftour.moudles.entity.User;
import com.mftour.moudles.service.DubboProvideService;
import com.mftour.moudles.service.UserService;

public class DubboProvideServiceImpl implements DubboProvideService {

	@Autowired
	private UserService userService;
	
	@Override
	public String sayHello(String name) {
		List<User> userList=userService.selectListSelective(null);
		return name+" say hello to dubbo,all user="+userList.size();
	}

}
